package com.etc.entity;

import java.io.Serializable;
import java.util.UUID;

public class RoleEquipment implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6097345659898439578L;
	private String reId;    //角色所穿装备编号
	private Equipment mainWeap;  //主武器
	private Equipment secondWeap;  //副武器
	private Equipment helmet;  //头盔
	private Equipment top;     //上衣
	private Equipment bottom;  //下衣
	private Equipment shoe;    //鞋子
	public RoleEquipment() {
		super();
	}
	public RoleEquipment(Equipment mainWeap, Equipment secondWeap, Equipment helmet, Equipment top, Equipment bottom,
			Equipment shoe) {
		super();
		this.reId = UUID.randomUUID().toString().substring(0, 8);
		this.mainWeap = mainWeap;
		this.secondWeap = secondWeap;
		this.helmet = helmet;
		this.top = top;
		this.bottom = bottom;
		this.shoe = shoe;
	}
	public RoleEquipment(String reId, Equipment mainWeap, Equipment secondWeap, Equipment helmet, Equipment top,
			Equipment bottom, Equipment shoe) {
		super();
		this.reId = reId;
		this.mainWeap = mainWeap;
		this.secondWeap = secondWeap;
		this.helmet = helmet;
		this.top = top;
		this.bottom = bottom;
		this.shoe = shoe;
	}
	public String getReId() {
		return reId;
	}
	public void setReId(String reId) {
		this.reId = reId;
	}
	public Equipment getMainWeap() {
		return mainWeap;
	}
	public void setMainWeap(Equipment mainWeap) {
		this.mainWeap = mainWeap;
	}
	public Equipment getSecondWeap() {
		return secondWeap;
	}
	public void setSecondWeap(Equipment secondWeap) {
		this.secondWeap = secondWeap;
	}
	public Equipment getHelmet() {
		return helmet;
	}
	public void setHelmet(Equipment helmet) {
		this.helmet = helmet;
	}
	public Equipment getTop() {
		return top;
	}
	public void setTop(Equipment top) {
		this.top = top;
	}
	public Equipment getBottom() {
		return bottom;
	}
	public void setBottom(Equipment bottom) {
		this.bottom = bottom;
	}
	public Equipment getShoe() {
		return shoe;
	}
	public void setShoe(Equipment shoe) {
		this.shoe = shoe;
	}
	@Override
	public String toString() {
		return "RoleEquipment [reId=" + reId + ", mainWeap=" + mainWeap + ", secondWeap=" + secondWeap + ", helmet="
				+ helmet + ", top=" + top + ", bottom=" + bottom + ", shoe=" + shoe + "]";
	}
	
	
}
